package com.roncoo.course.service.impl;

import com.roncoo.course.entity.EduSubject;
import com.roncoo.course.dao.EduSubjectMapper;
import com.roncoo.course.service.EduSubjectService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wdf
 * @since 2021-03-30
 */
@Service
public class EduSubjectServiceImpl extends ServiceImpl<EduSubjectMapper, EduSubject> implements EduSubjectService {

    @Resource
    private EduSubjectMapper eduSubjectMapper;
    @Override
    public List<EduSubject> findAll() {
        List<EduSubject> all=eduSubjectMapper.findAll();
        return all;
    }
}
